package com.ecr.hub.database.dao;

import java.util.List;
import org.springframework.dao.DataAccessException;

import com.ecr.hub.model.composition.Composition;

public interface IDaoComposition {

	public void insert(List<Composition> compositions)
			throws DataAccessException;

	public void delete(Composition composition) throws DataAccessException;

	public void update(Composition composition) throws DataAccessException;

	public void integrate(List<Composition> lstCompositions)
			throws DataAccessException;

	public void deleteAll(int sillonId) throws DataAccessException;

	public void historize(int sillonId) throws DataAccessException;
}
